package com.example.bes.dubbo.api.demo.vo;

import java.io.Serializable;

public record Message(String title, String content, String author) implements Serializable {
    @Override
    public String title() {
        return title;
    }

    @Override
    public String content() {
        return content;
    }

    @Override
    public String author() {
        return author;
    }

    @Override
    public String toString() {
        return "Message{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
